package com.xymtop.api.mapper;

import com.xymtop.api.entity.MyApplication;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
*@Description:申请表数据库操作
*@Parameter:
*@Return:
*@Author:肖叶茂
*@Date:2022/12/5
**/

@Mapper
public interface AppMapper {
    int add(String id,String appuserid,String projectid,String content,String type,String status,String time);
    int changeStatus(String id,String type);
//    通过用户来查看消息
    List<MyApplication> getListUser(String userid);
//    通过项目来查看消息
    List<MyApplication> getListProject(String projectid);
}
